package com.jz.community.moduleshopping.goodsDetail.bean;

import com.jz.community.basecomm.bean.BaseResponseInfo;
import com.jz.community.basecomm.bean.baseCommInfo.PageInfo;
import com.jz.community.moduleshopping.confirmOrder.bean.BaseOrderCouponInfo;

import java.util.List;

/**
 * Created by Tony.Fan on 2018/3/27 13:03
 */
public class GoodsCouponInfo extends BaseResponseInfo {


    /**
     * _embedded : {"content":[{"id":45,"appCode":101,"couponLimitShop":null,"shopId":"79","shopLink":null,"couponLimitGoods":1,"couponName":"AAAA","couponType":3,"couponAmount":null,"couponDiscount":null,"couponStartDate":"2018-06-21 10:43:41","couponEndDate":"2018-06-27 10:43:43","useStartDate":"2018-07-01 10:43:46","useEndDate":"2018-07-19 10:43:54","minFullAmount":200,"giveNumber":50,"giveMethod":1,"minIntegral":null,"isGrant":1,"sendMinAmount":null,"createDate":"2018-06-21 10:44:07","operatId":"705933","operatLink":null,"isDel":0,"isNewUser":0,"status":0,"subMoney":20,"couponItemList":[{"id":103,"shopId":null,"shopLink":null,"shopName":null,"goodsId":"10","goodsLink":"http://api.shoppingyizhan.com/gds/goodssqr/10","goodsName":"鸡蛋卷","goodsCategoriesId":null,"goodsCategoriesLink":null,"goodsCategoriesName":null},{"id":104,"shopId":null,"shopLink":null,"shopName":null,"goodsId":"11","goodsLink":"http://api.shoppingyizhan.com/gds/goodssqr/11","goodsName":"夏威夷果","goodsCategoriesId":null,"goodsCategoriesLink":null,"goodsCategoriesName":null},{"id":105,"shopId":null,"shopLink":null,"shopName":null,"goodsId":"12","goodsLink":"http://api.shoppingyizhan.com/gds/goodssqr/12","goodsName":"芒果干-红包购买","goodsCategoriesId":null,"goodsCategoriesLink":null,"goodsCategoriesName":null}],"links":{"self":{"href":"http://api.shoppingyizhan.com/yhq/coupon-info/45"}}}]}
     */

    private EmbeddedBean _embedded;

    public EmbeddedBean get_embedded() {
        return _embedded;
    }

    public void set_embedded(EmbeddedBean _embedded) {
        this._embedded = _embedded;
    }

    private PageInfo page;

    public PageInfo getPage() {
        return page;
    }

    public void setPage(PageInfo page) {
        this.page = page;
    }

    public static class EmbeddedBean {
        private List<BaseOrderCouponInfo> content;

        public List<BaseOrderCouponInfo> getContent() {
            return content;
        }

        public void setContent(List<BaseOrderCouponInfo> content) {
            this.content = content;
        }


    }
}
